Skip to content

chore(deps): upgrade to buoyant_kernel 0.28.x - #88

Merged
roeap merged 4 commits into
mainfrom
upgrade/buoyant-kernel-0-21
Oct 24, 2026
Merged

roeap merged 4 commits into
mainfrom
upgrade/buoyant-kernel-0-21

Conversation

@rtyler

@rtyler rtyler commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

This 🦜 driven change upgrades this library to depend on the latest (as of today) released buoyant_kernel distribution which is what the deltalake crate uses. There are some backports and other fixes that go into this distribution which makes it convenient to re-use here.

I have some vested interest in using this specific version because it allows me to comingle this codebase and deltalake crates in the same application in a way that is quite helpful 😸

@rtyler
rtyler force-pushed the upgrade/buoyant-kernel-0-21 branch from a1b57e2 to b14d468 Compare October 15, 2026 13:15
@rtyler
rtyler changed the base branch from main to ci/pin-actions-to-sha October 15, 2026 13:15
@rtyler
rtyler force-pushed the upgrade/buoyant-kernel-0-21 branch from b14d468 to 8af7c39 Compare October 15, 2026 13:23
@rtyler
rtyler changed the base branch from ci/pin-actions-to-sha to main October 15, 2026 13:26
@rtyler
rtyler force-pushed the upgrade/buoyant-kernel-0-21 branch from 8af7c39 to 0e5215a Compare October 15, 2026 13:28
Replace delta_kernel 0.8 with buoyant_kernel 0.21 (arrow 58 / object_store
13 feature set) and bump object_store from 0.11 to 0.13.

Adapt to the 0.21 API:
- Build the object store from the table URL in the engine factory and
  construct DefaultEngine through its builder.
- Use Snapshot::builder_for for snapshot loading.
- Read Metadata and Protocol through TableConfiguration, which requires the
  internal-api feature because 0.21 does not expose them publicly.
- Read format.options via serde, since 0.21 has no accessor for it.
- Map <= and >= to NOT(>) and NOT(<), since 0.21 has no such predicate
  operators.
- Import ObjectStoreExt for put() in testutils.

Pin buoyant_kernel_derive to =1.1.0. buoyant_kernel 0.21.200 calls
parse_column_name!, which 1.2.0 removed.

Raise chrono to >=0.4.41, which buoyant_kernel requires.

Add the uuid serde feature, which the old kernel enabled transitively.

Verified: workspace cargo check, clippy on delta-sharing-common and
testutils, and cargo test --workspace --exclude app pass. The app crate is
excluded because it needs the system cairo library. The legacy crate is not
a workspace member and does not resolve in the workspace graph (pre-existing
sqlx/libsqlite3 conflict and a missing testutils path), so it is not verified.

Signed-off-by: R Tyler Croy <rtyler@scribd.com>
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Signed-off-by: R Tyler Croy <rtyler@scribd.com>
@rtyler
rtyler force-pushed the upgrade/buoyant-kernel-0-21 branch from 0e5215a to 125b72a Compare October 16, 2026 20:59
rtyler and others added 3 commits October 21, 2026 15:42
Keep the upstream delta_kernel import paths in source and manifests, and
depend on the buoyant_kernel distribution under the delta_kernel key with
package aliasing:

  delta_kernel = { package = "buoyant_kernel", version = "0.21", ... }

This follows the pattern in the buoyant_kernel announcement and keeps the
diff against main limited to the parts of the API that changed, instead of
renaming every import path to buoyant_kernel.

The buoyant_kernel_derive pin is unchanged.

Signed-off-by: R Tyler Croy <rtyler@scribd.com>
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Move the kernel dependency from buoyant_kernel 0.21 to 0.28, still depended
on under the delta_kernel name. Use the arrow-59 feature set.

0.28 splits the default engine out of the kernel into buoyant_kernel_engine,
so add that crate as a workspace dependency and build the engine through
DefaultEngineBuilder. The object store is still built from the table URL
with object_store, now 0.13 on both sides.

Drop the buoyant_kernel_derive =1.1.0 pin. 0.28 no longer calls the macro
that 1.2.0 removed, so the derive crate resolves to 1.2.0.

Verified: RUSTFLAGS=-D warnings cargo clippy --workspace --exclude app
--tests passes on stable 1.99, cargo fmt -- --check passes, and cargo test
--workspace --exclude app --tests --features integration-pg passes against
PostgreSQL 15, including the testutils conformance tests.

Signed-off-by: R Tyler Croy <rtyler@scribd.com>
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
…_engine name

Depend on the buoyant_kernel_engine distribution under the delta_kernel_engine
name with package aliasing, matching how the kernel itself is depended on:

  delta_kernel_engine = { package = "buoyant_kernel_engine", version = "0.28", ... }

Source imports and common's manifest use the delta_kernel_engine name. The
lockfile is unchanged apart from the rename.

Signed-off-by: R Tyler Croy <rtyler@scribd.com>
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
@rtyler rtyler changed the title chore(deps): upgrade to buoyant_kernel 0.21 and object_store 0.13 chore(deps): upgrade to buoyant_kernel 0.28.x Oct 21, 2026
@rtyler
rtyler requested a review from roeap October 21, 2026 16:19
@rtyler
rtyler marked this pull request as ready for review October 21, 2026 16:21
@roeap
roeap merged commit 315723e into main Oct 24, 2026
10 checks passed
@roeap
roeap deleted the upgrade/buoyant-kernel-0-21 branch October 24, 2026 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants